/*
 * Dialog.h
 *
 *  Created on: 13/07/2011
 *      Author: Rafael
 */

#ifndef DIALOG_H_
#define DIALOG_H_

#include "ttf.hpp"
#include <utils.hpp>
using namespace e2d::core;

#include <string>
using namespace std;

class Dialog: public e2d::graphics::TTF {
private:
	bool active;
	string text;
	int x;
	int y;
	int count;
	int w;
	int h;
	SDL_Surface* surface;
public:
	Dialog(int buffer_size);
	virtual ~Dialog();

	void Display(Utilities* Utils);

    bool getActive() const;
    void setActive(bool active);
    string getText() const;
    void setText(string text);

    void update();

    void getDisplayText();

    int GetH() const;
    int GetW() const;
    void SetH(int h);
    void SetW(int w);
};

#endif /* DIALOG_H_ */
